package com.easywan.util;

import java.util.Date;

public class DateUtils {
	public static Date getNowDate(){
		return new Date(System.currentTimeMillis());
	}
	@SuppressWarnings("deprecation")
	public static String dateToPath(Date date){
		return date.getYear()+"/"+date.getMonth()+"/"+date.getDate() + "/";
	}
	public static String dateToPath() {
		return dateToPath(getNowDate());
	}
}
